
import hashlib
import re

m2 = hashlib.md5()


c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";

def md5(a):
    return m2.update(a.encode('utf-8'))



def base64_decode(g):
    
    j=re.sub(r'[=]+$',"",str(g))

    i = 0
    d = 0
    f = ""


    try:
        while(j[d]):
            
            e=j[d]
            d+=1
            e = c.find(e) 

            h = h * 64 + e if  i % 4  else e

            if(~e and (i % 4 )):
                i+=1
                f += chr(255 & h >> (-2 * i & 6)) 
            else:
                i+=1

    except(IndexError):
        pass

   
    return f


def jda41OFP881QnMxKijKbI6RNI5QedQZmb9(n):
	
    return base64_decode(n)

def jandan_load_img(e="Ly93dzMuc2luYWltZy5jbi9tdzYwMC8wMDZYTkVZN2d5MWZ0cXBlbWRzMDJqMzBoczBwNXE0My5qcGc="):

    return jda41OFP881QnMxKijKbI6RNI5QedQZmb9(e);

